﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
using ThongTin;


namespace DuLieu
{
   public class BangDiem_DL
    {
        KetNoi_DL ketnoi = new KetNoi_DL();

        public DataTable LayDiemMotKyCuaSinhVien(BangDiem_TT DB)
        {
            int Nparameter = 2;
            string[] name = new string[Nparameter];
            object[] value = new object[Nparameter];
            name[0] = "@MaSinhVien";
            value[0] = DB.MaSinhVien;
            name[1] = "@MaHocKy";
            value[1] = DB.MaHocKy;
            return ketnoi.TimKiem("LayDiemMotKyCuaSinhVien", name, value, Nparameter);
        }

        public DataTable BangDiem()
        {
            throw new NotImplementedException();
        }
    }
}
